Mega Code Archive

Categories
1) Android
2) ASP.Net
3) ASP.Net Tutorial
4) C
5) C Tutorial
6) C#
7) C# Book
8) C# by API
9) C# Tutorial
10) C++
11) C++ Tutorial
12) Delphi
13) Flash ActionScript
14) Flex
15) Java
16) Java Book
17) Java by API
18) Java Tutorial
19) JavaScript DHTML
20) JavaScript Reference
21) JavaScript Tutorial
22) MSOfficeExcel 2007 Tutorial
23) MSOfficePowerPoint 2007 Tutorial
24) MSOfficeWord 2007 Tutorial
25) MSSQL
26) MSSQL Tutorial
27) MySQL
28) MySQL Tutorial
29) Oracle PLSQL
30) Oracle PLSQL Tutorial
31) Perl
32) Php
33) PostgreSQL
34) Python
35) Python Tutorial
36) Ruby
37) Silverlight
38) VB.Net
39) VB.Net by API
40) VB.Net Tutorial
41) Visual C++ .NET
42) VisualBasic Script
43) XML
44) XML Tutorial
 
Java
1) 2D Graphics GUI
2) 3D Graphics
3) Advanced Graphics
4) Ant
5) Apache Common
6) Applet
7) Awt
8) Beginners Lab
9) Chart
10) Class
11) Collections Data Structure
12) Core
13) Data Type
14) Database SQL JDBC
15) Date Time
16) Design Pattern
17) Development Class
18) EJB3
19) Email
20) Event
21) File Input Output
22) Game
23) Generics
24) GWT
25) Hibernate
26) Internationalization
27) J2EE
28) J2ME
29) JDBC
30) JDK
31) JNDI LDAP
32) JPA
33) JSP
34) JSTL
35) Language Basics
36) Learning
37) Mathematics
38) Network Protocol
39) PDF RTF
40) Reflection
41) Regular Expressions
42) Scripting
43) Security
44) Servlets
45) Session
46) Sound
47) Spring
48) Swing Components
49) Swing JFC
50) SWT Jface Eclipse
51) Threads
52) Tiny Application
53) Util
54) Velocity
55) Web Services SOA
56) XML
JNDI LDAP
1) A JNDI context wrapper implementation that delegates read-only methods to its delegate Context, and throws OperationNotSupported
2) A static utility class for common JNDI operations
3) Adding a Binding with Attributes to the Directory
4) Adding, Replacing, Removing, and Renaming a Binding in the Naming Service
5) Authenticating to the Directory
6) Bind a non-serializable object into a local JNDI context
7) Cancelling a Directory Search
8) Converts an RDN to its String representation and vice-versa
9) Create a context path recursively
10) Creates a schema for storing Java objects according to RFC 2713
11) Creates an LdapName and prints its components
12) Creates the schema for storing CORBA object references according to RFC 2714
13) Creating a Directory Entry
14) Creating an Initial Context to a Directory
15) Creating an Initial Context to the Naming Service
16) Creating and Destroying a Subcontext in the Naming Service
17) Deleting an entry
18) Demonstrates RDN comparison
19) Display dir context
20) DNS lookups for XMPP services
21) Getting an Attributes Schema from the Directory
22) Getting an Objects Fully Qualified Name
23) Getting an Objects Schema from the Directory
24) Getting LDAP Response Controls
25) How a paged search can be performed using the PagedResultsControl API
26) How an LdapName can be obtained from the search results
27) How failure to supply correct authentication information fails
28) How sorted search results can be obtained using SortControl API
29) add a binding to a context
30) bind a Serializable object to a directory
31) bind a Serializable object to a directory with a codebase
32) create a new subcontext called ou=NewOu with some attributes
33) create an initial context to an LDAP server using a custom socket factory
34) create an initial context to an LDAP server using an LDAPS URL
35) create an initial context to an LDAP server using anonymous authentication (i e none)
36) create an initial context to an LDAP server using DIGEST-MD5 authentication
37) create an initial context to an LDAP server using DIGEST-MD5 authentication with a specified realm
38) create an initial context to an LDAP server using External authentication and SSL
39) create an initial context to an LDAP server using simple authentication
40) create an initial context to an LDAP server using SSL
41) destroy a subcontext called ou=NewOu
42) discover a servers supported SASL mechanisms
43) do the equivalent of an LDAP compare
44) enable connection pooling Use debug option to observe connection usage
45) list the bindings in a context
46) list the name and class of objects in a context
47) look up an object
48) make modifications to an objects attributes
49) overwrite an existing binding
50) pass LDAP name to the context methods
51) perform a search and limit the number of results returned
52) perform a search and limit the time that the search takes
53) perform a search by specifying a search filter and default search controls
54) perform a search by specifying a search filter and search controls
55) perform a search by specifying a search filter and search controls to search a subtree
56) perform a search by specifying a search filter and search controls to search an object
57) perform a search by specifying a search filter, objects to fill in filter, andsearch controls
58) register a listener for Unsolicited Notifications
59) remove a binding
60) rename an entry and keep its old RDN as an attribute
61) rename an entry to another part of the namespace
62) rename an interior node
63) rename an object
64) retrieve all attributes of a named object
65) retrieve selected attributes of a named object
66) search the directory that ignores referrals returned by the server
67) use a timeout when creating a connection
68) use different authentication information for one context
69) How values in the RDN can be retrieved from their string representation
70) JNDI utilities
71) LDAP Search
72) Listing a Context in the Naming Service
73) Looking Up an Object from the Naming Service
74) Modify the attributes of the entry
75) Modifying an Objects Attributes in the Directory
76) Parsing a JNDI Composite Name
77) Parsing a JNDI Compound Name
78) Performing a Basic Directory Search
79) Read Timeout Test
80) Reading an Objects Attributes from the Directory
81) Rebind Context
82) Registering for Namespace Changes in the Directory
83) Registering for Object Changes in the Directory
84) Replace the placeholders in the filter with the proper values from the userName
85) Retrieves an LdapNames suffix and prefix
86) Retrieves the DN from the search results
87) Searching a Subtree in the Directory
88) Searching the Directory by Using a Search Filter
89) Setting LDAP Connection Request Controls
90) Setting LDAP Context Request Controls
91) Show only the common name (cn) and e-mail address (mail) attributes
92) Shows contexts that originally shared the same connection using different connection
93) Shows contexts that share the same connection
94) Shows different ways of constructing an Rdn
95) Shows how LdapName to String conversion works
96) Shows how to format DNs with special characters by escaping the values
97) Shows ways of accessing the typevalue pair(s) from an RDN
98) Shows ways of comparing LDAP names
99) Shows ways of modifying an Ldap Name
100) TearDown Context Recursively
101) This program demonstrates access to a hierarchical database through LDAP
102) Use Person class to add an entry to the LDAP server
103) Using a URL as a Name to the Initial Context